home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr38 / usurp008.zip / MULTI.BAT < prev    next >
DOS Batch File  |  1995-02-02  |  957b  |  38 lines

  1. @ECHO OFF
  2. REM   BATCH FILE FOR USURPER
  3. REM   This is a sample of a batch file to be used
  4. REM   in a multinode Setup
  5. REM   %1 is the Node Number which must be passed to the
  6. REM   batch file from the BBS software
  7. REM   (With RemoteAccess BBS software, this can be accomplished by
  8. REM    placing *N on the command line)
  9. REM
  10. REM  !!! Remember that if you use several nodes Usurper will look for
  11. REM      dorinfoX.def, with X being the number supplied as command line
  12. REM      parameter: USURPER 3 {usurper will look for DORINFO3.DEF}
  13. REM      Systems that only produces DORINFO1.DEF must rename their files
  14. REM      accordingly. See below !!!      
  15.  
  16.  
  17. COPY DORINFO1.DEF DORINFO%1.DEF
  18. CD \RA\DOORS\USURPER
  19.  
  20. if %1 == 1 Goto Node1
  21. if %1 == 2 Goto Node2
  22. if %1 == 3 Goto Node3
  23. Goto End
  24.  
  25. :Node1
  26. Usurper 1 /P:{Node1Path}
  27. Goto End
  28.  
  29. :Node2
  30. Usurper 2 /P:{Node2Path}
  31. Goto End
  32.  
  33. :Node3
  34. Usurper 3 /P:{Node3Path}
  35.  
  36. :End
  37. {return back to bbs}
  38.